﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using WineDAL;
using System.Collections;

namespace WineBLL
{
   public class WineCikkectBLL
    {
       WineCikkectDAL dal = new WineCikkectDAL();
        /// <summary>
       /// 收藏显示商品信息
       /// </summary>
       /// <returns></returns>
       public ArrayList CikkectShow(int id)
       {
           return dal.CikkectShow(id);
       }

       /// <summary>
        /// 添加收藏
        /// </summary>
        /// <param name="shop"></param>
        /// <returns></returns>
       public int CikkectAdd(WineModel.Cikkect cc)
       {
           return dal.CikkectAdd(cc);
       }


       /// <summary>
       /// 取消收藏
       /// </summary>
       /// <param name="id"></param>
       /// <returns></returns>
       public int CikkectDelete(int id)
       {
           return dal.CikkectDelete(id);
       }
    }
}
